package com.opentae.data.mall.examples;

import com.opentae.core.mybatis.SgExample;
import com.opentae.core.mybatis.example.EntityColumn;
import com.opentae.core.mybatis.example.EntityTable;
import com.opentae.core.mybatis.mapperhelper.EntityHelper;
import com.opentae.data.mall.beans.ManagerUser;

import java.util.*;
public class ManagerUserExample extends SgExample<ManagerUserExample.Criteria> {
    public static final Class<ManagerUser> beanClass = ManagerUser.class;
    public static final EntityTable entityTable = EntityHelper.getEntityTable(beanClass);
    public static EntityColumn nick;
    public static EntityColumn password;
    public static EntityColumn createTime;
    public static EntityColumn loginName;
    public static EntityColumn headUrl;
    public static EntityColumn userId;
    public static EntityColumn oemFlag;
    public static EntityColumn lastLoginIp;
    public static EntityColumn status;
    static {
        Set<EntityColumn> columns = entityTable.getEntityClassColumns();
        Map<String, EntityColumn> listMap = new HashMap<>();
        for (EntityColumn column : columns) {
            listMap.put(column.getProperty(), column);
        }
        nick = listMap.get("nick");
        password = listMap.get("password");
        createTime = listMap.get("createTime");
        loginName = listMap.get("loginName");
        headUrl = listMap.get("headUrl");
        userId = listMap.get("userId");
        oemFlag = listMap.get("oemFlag");
        lastLoginIp = listMap.get("lastLoginIp");
        status = listMap.get("status");
        }

    public ManagerUserExample() {
        this.setTableAlias(entityTable.getName());
    }

    @Override
    public EntityTable getEntityTable() {
        return entityTable;
    }

    @Override
    protected ManagerUserExample.Criteria createCriteriaInternal() {
        return new ManagerUserExample.Criteria(this);
    }

    public static class Criteria extends SgExample.GeneratedCriteria<Criteria> {
        protected Criteria(SgExample example) {
            super(example);
        }

        public ManagerUserExample.Criteria andNickIsNull() {
            return isNull(nick);
        }

        public ManagerUserExample.Criteria andNickIsNotNull() {
            return isNotNull(nick);
        }

        public ManagerUserExample.Criteria andNickEqualTo(String value) {
            return equalTo(nick, value);
        }

        public ManagerUserExample.Criteria andNickNotEqualTo(String value) {
            return notEqualTo(nick, value);
        }

        public ManagerUserExample.Criteria andNickGreaterThan(String value) {
            return greaterThan(nick, value);
        }

        public ManagerUserExample.Criteria andNickGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(nick, value);
        }

        public ManagerUserExample.Criteria andNickLessThan(String value) {
            return lessThan(nick, value);
        }

        public ManagerUserExample.Criteria andNickLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(nick, value);
        }

        public ManagerUserExample.Criteria andNickLike(String value) {
            return like(nick, value);
        }

        public ManagerUserExample.Criteria andNickNotLike(String value) {
            return notLike(nick, value);
        }

        public ManagerUserExample.Criteria andNickIn(List<String> values) {
            return in(nick, values);
        }

        public ManagerUserExample.Criteria andNickNotIn(List<String> values) {
            return notIn(nick, values);
        }

        public ManagerUserExample.Criteria andNickBetween(String value1, String value2) {
            return between(nick, value1, value2);
        }

        public ManagerUserExample.Criteria andNickNotBetween(String value1, String value2) {
            return notBetween(nick, value1, value2);
        }
        public ManagerUserExample.Criteria andPasswordIsNull() {
            return isNull(password);
        }

        public ManagerUserExample.Criteria andPasswordIsNotNull() {
            return isNotNull(password);
        }

        public ManagerUserExample.Criteria andPasswordEqualTo(String value) {
            return equalTo(password, value);
        }

        public ManagerUserExample.Criteria andPasswordNotEqualTo(String value) {
            return notEqualTo(password, value);
        }

        public ManagerUserExample.Criteria andPasswordGreaterThan(String value) {
            return greaterThan(password, value);
        }

        public ManagerUserExample.Criteria andPasswordGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(password, value);
        }

        public ManagerUserExample.Criteria andPasswordLessThan(String value) {
            return lessThan(password, value);
        }

        public ManagerUserExample.Criteria andPasswordLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(password, value);
        }

        public ManagerUserExample.Criteria andPasswordLike(String value) {
            return like(password, value);
        }

        public ManagerUserExample.Criteria andPasswordNotLike(String value) {
            return notLike(password, value);
        }

        public ManagerUserExample.Criteria andPasswordIn(List<String> values) {
            return in(password, values);
        }

        public ManagerUserExample.Criteria andPasswordNotIn(List<String> values) {
            return notIn(password, values);
        }

        public ManagerUserExample.Criteria andPasswordBetween(String value1, String value2) {
            return between(password, value1, value2);
        }

        public ManagerUserExample.Criteria andPasswordNotBetween(String value1, String value2) {
            return notBetween(password, value1, value2);
        }
        public ManagerUserExample.Criteria andCreateTimeIsNull() {
            return isNull(createTime);
        }

        public ManagerUserExample.Criteria andCreateTimeIsNotNull() {
            return isNotNull(createTime);
        }

        public ManagerUserExample.Criteria andCreateTimeEqualTo(Date value) {
            return equalTo(createTime, value);
        }

        public ManagerUserExample.Criteria andCreateTimeNotEqualTo(Date value) {
            return notEqualTo(createTime, value);
        }

        public ManagerUserExample.Criteria andCreateTimeGreaterThan(Date value) {
            return greaterThan(createTime, value);
        }

        public ManagerUserExample.Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            return greaterThanOrEqualTo(createTime, value);
        }

        public ManagerUserExample.Criteria andCreateTimeLessThan(Date value) {
            return lessThan(createTime, value);
        }

        public ManagerUserExample.Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            return lessThanOrEqualTo(createTime, value);
        }

        public ManagerUserExample.Criteria andCreateTimeIn(List<Date> values) {
            return in(createTime, values);
        }

        public ManagerUserExample.Criteria andCreateTimeNotIn(List<Date> values) {
            return notIn(createTime, values);
        }

        public ManagerUserExample.Criteria andCreateTimeBetween(Date value1, Date value2) {
            return between(createTime, value1, value2);
        }

        public ManagerUserExample.Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            return notBetween(createTime, value1, value2);
        }
        public ManagerUserExample.Criteria andLoginNameIsNull() {
            return isNull(loginName);
        }

        public ManagerUserExample.Criteria andLoginNameIsNotNull() {
            return isNotNull(loginName);
        }

        public ManagerUserExample.Criteria andLoginNameEqualTo(String value) {
            return equalTo(loginName, value);
        }

        public ManagerUserExample.Criteria andLoginNameNotEqualTo(String value) {
            return notEqualTo(loginName, value);
        }

        public ManagerUserExample.Criteria andLoginNameGreaterThan(String value) {
            return greaterThan(loginName, value);
        }

        public ManagerUserExample.Criteria andLoginNameGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(loginName, value);
        }

        public ManagerUserExample.Criteria andLoginNameLessThan(String value) {
            return lessThan(loginName, value);
        }

        public ManagerUserExample.Criteria andLoginNameLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(loginName, value);
        }

        public ManagerUserExample.Criteria andLoginNameLike(String value) {
            return like(loginName, value);
        }

        public ManagerUserExample.Criteria andLoginNameNotLike(String value) {
            return notLike(loginName, value);
        }

        public ManagerUserExample.Criteria andLoginNameIn(List<String> values) {
            return in(loginName, values);
        }

        public ManagerUserExample.Criteria andLoginNameNotIn(List<String> values) {
            return notIn(loginName, values);
        }

        public ManagerUserExample.Criteria andLoginNameBetween(String value1, String value2) {
            return between(loginName, value1, value2);
        }

        public ManagerUserExample.Criteria andLoginNameNotBetween(String value1, String value2) {
            return notBetween(loginName, value1, value2);
        }
        public ManagerUserExample.Criteria andHeadUrlIsNull() {
            return isNull(headUrl);
        }

        public ManagerUserExample.Criteria andHeadUrlIsNotNull() {
            return isNotNull(headUrl);
        }

        public ManagerUserExample.Criteria andHeadUrlEqualTo(String value) {
            return equalTo(headUrl, value);
        }

        public ManagerUserExample.Criteria andHeadUrlNotEqualTo(String value) {
            return notEqualTo(headUrl, value);
        }

        public ManagerUserExample.Criteria andHeadUrlGreaterThan(String value) {
            return greaterThan(headUrl, value);
        }

        public ManagerUserExample.Criteria andHeadUrlGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(headUrl, value);
        }

        public ManagerUserExample.Criteria andHeadUrlLessThan(String value) {
            return lessThan(headUrl, value);
        }

        public ManagerUserExample.Criteria andHeadUrlLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(headUrl, value);
        }

        public ManagerUserExample.Criteria andHeadUrlLike(String value) {
            return like(headUrl, value);
        }

        public ManagerUserExample.Criteria andHeadUrlNotLike(String value) {
            return notLike(headUrl, value);
        }

        public ManagerUserExample.Criteria andHeadUrlIn(List<String> values) {
            return in(headUrl, values);
        }

        public ManagerUserExample.Criteria andHeadUrlNotIn(List<String> values) {
            return notIn(headUrl, values);
        }

        public ManagerUserExample.Criteria andHeadUrlBetween(String value1, String value2) {
            return between(headUrl, value1, value2);
        }

        public ManagerUserExample.Criteria andHeadUrlNotBetween(String value1, String value2) {
            return notBetween(headUrl, value1, value2);
        }
        public ManagerUserExample.Criteria andUserIdIsNull() {
            return isNull(userId);
        }

        public ManagerUserExample.Criteria andUserIdIsNotNull() {
            return isNotNull(userId);
        }

        public ManagerUserExample.Criteria andUserIdEqualTo(Long value) {
            return equalTo(userId, value);
        }

        public ManagerUserExample.Criteria andUserIdNotEqualTo(Long value) {
            return notEqualTo(userId, value);
        }

        public ManagerUserExample.Criteria andUserIdGreaterThan(Long value) {
            return greaterThan(userId, value);
        }

        public ManagerUserExample.Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(userId, value);
        }

        public ManagerUserExample.Criteria andUserIdLessThan(Long value) {
            return lessThan(userId, value);
        }

        public ManagerUserExample.Criteria andUserIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(userId, value);
        }

        public ManagerUserExample.Criteria andUserIdIn(List<Long> values) {
            return in(userId, values);
        }

        public ManagerUserExample.Criteria andUserIdNotIn(List<Long> values) {
            return notIn(userId, values);
        }

        public ManagerUserExample.Criteria andUserIdBetween(Long value1, Long value2) {
            return between(userId, value1, value2);
        }

        public ManagerUserExample.Criteria andUserIdNotBetween(Long value1, Long value2) {
            return notBetween(userId, value1, value2);
        }
        public ManagerUserExample.Criteria andOemFlagIsNull() {
            return isNull(oemFlag);
        }

        public ManagerUserExample.Criteria andOemFlagIsNotNull() {
            return isNotNull(oemFlag);
        }

        public ManagerUserExample.Criteria andOemFlagEqualTo(String value) {
            return equalTo(oemFlag, value);
        }

        public ManagerUserExample.Criteria andOemFlagNotEqualTo(String value) {
            return notEqualTo(oemFlag, value);
        }

        public ManagerUserExample.Criteria andOemFlagGreaterThan(String value) {
            return greaterThan(oemFlag, value);
        }

        public ManagerUserExample.Criteria andOemFlagGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(oemFlag, value);
        }

        public ManagerUserExample.Criteria andOemFlagLessThan(String value) {
            return lessThan(oemFlag, value);
        }

        public ManagerUserExample.Criteria andOemFlagLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(oemFlag, value);
        }

        public ManagerUserExample.Criteria andOemFlagLike(String value) {
            return like(oemFlag, value);
        }

        public ManagerUserExample.Criteria andOemFlagNotLike(String value) {
            return notLike(oemFlag, value);
        }

        public ManagerUserExample.Criteria andOemFlagIn(List<String> values) {
            return in(oemFlag, values);
        }

        public ManagerUserExample.Criteria andOemFlagNotIn(List<String> values) {
            return notIn(oemFlag, values);
        }

        public ManagerUserExample.Criteria andOemFlagBetween(String value1, String value2) {
            return between(oemFlag, value1, value2);
        }

        public ManagerUserExample.Criteria andOemFlagNotBetween(String value1, String value2) {
            return notBetween(oemFlag, value1, value2);
        }
        public ManagerUserExample.Criteria andLastLoginIpIsNull() {
            return isNull(lastLoginIp);
        }

        public ManagerUserExample.Criteria andLastLoginIpIsNotNull() {
            return isNotNull(lastLoginIp);
        }

        public ManagerUserExample.Criteria andLastLoginIpEqualTo(String value) {
            return equalTo(lastLoginIp, value);
        }

        public ManagerUserExample.Criteria andLastLoginIpNotEqualTo(String value) {
            return notEqualTo(lastLoginIp, value);
        }

        public ManagerUserExample.Criteria andLastLoginIpGreaterThan(String value) {
            return greaterThan(lastLoginIp, value);
        }

        public ManagerUserExample.Criteria andLastLoginIpGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(lastLoginIp, value);
        }

        public ManagerUserExample.Criteria andLastLoginIpLessThan(String value) {
            return lessThan(lastLoginIp, value);
        }

        public ManagerUserExample.Criteria andLastLoginIpLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(lastLoginIp, value);
        }

        public ManagerUserExample.Criteria andLastLoginIpLike(String value) {
            return like(lastLoginIp, value);
        }

        public ManagerUserExample.Criteria andLastLoginIpNotLike(String value) {
            return notLike(lastLoginIp, value);
        }

        public ManagerUserExample.Criteria andLastLoginIpIn(List<String> values) {
            return in(lastLoginIp, values);
        }

        public ManagerUserExample.Criteria andLastLoginIpNotIn(List<String> values) {
            return notIn(lastLoginIp, values);
        }

        public ManagerUserExample.Criteria andLastLoginIpBetween(String value1, String value2) {
            return between(lastLoginIp, value1, value2);
        }

        public ManagerUserExample.Criteria andLastLoginIpNotBetween(String value1, String value2) {
            return notBetween(lastLoginIp, value1, value2);
        }
        public ManagerUserExample.Criteria andStatusIsNull() {
            return isNull(status);
        }

        public ManagerUserExample.Criteria andStatusIsNotNull() {
            return isNotNull(status);
        }

        public ManagerUserExample.Criteria andStatusEqualTo(Integer value) {
            return equalTo(status, value);
        }

        public ManagerUserExample.Criteria andStatusNotEqualTo(Integer value) {
            return notEqualTo(status, value);
        }

        public ManagerUserExample.Criteria andStatusGreaterThan(Integer value) {
            return greaterThan(status, value);
        }

        public ManagerUserExample.Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            return greaterThanOrEqualTo(status, value);
        }

        public ManagerUserExample.Criteria andStatusLessThan(Integer value) {
            return lessThan(status, value);
        }

        public ManagerUserExample.Criteria andStatusLessThanOrEqualTo(Integer value) {
            return lessThanOrEqualTo(status, value);
        }

        public ManagerUserExample.Criteria andStatusIn(List<Integer> values) {
            return in(status, values);
        }

        public ManagerUserExample.Criteria andStatusNotIn(List<Integer> values) {
            return notIn(status, values);
        }

        public ManagerUserExample.Criteria andStatusBetween(Integer value1, Integer value2) {
            return between(status, value1, value2);
        }

        public ManagerUserExample.Criteria andStatusNotBetween(Integer value1, Integer value2) {
            return notBetween(status, value1, value2);
        }
    }
}